package com.lxs.legou;


import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients //调用其它微服务的注解
@EnableCircuitBreaker //熔断
public class UploadApplication {

    public static void main(String[] args) {

        SpringApplication.run(UploadApplication.class,args);

    }
}
